package com.usian.service;

import com.usian.pojo.SearchItem;
import org.springframework.stereotype.Component;

import java.io.IOException;
import java.util.List;

/**
 * @author chen
 * @date 2021/1/19 - 10:39 - 星期二
 * @project usian_parent
 * @package com.usian.service
 * @by GGbomd猪猪侠
 */
@Component
public interface SearchItemService {
    Boolean importAll();

    List<SearchItem> selectByq(String q, Integer page, Integer pageSize);

    int insertDocument(String msg) throws IOException;
}
